package com.itheima.tanhua.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.tanhua.domain.Announcement;

/**
 * @author Lff
 * @date 2022/3/31
 */
public interface AnnouncementApi {
    /**
     * 分页查询通知消息
     *
     * @param page
     * @param pagesize
     * @return
     */
    Page<Announcement> findByPage(Integer page, Integer pagesize);
}
